@CHARSET "UTF-8";

/*==================== 锁屏样式 ====================*/
.agModal-lock-body {
  overflow: hidden;
}

.agModal-mobile-body.agModal-lock-body {
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

#agModal-pop-container {
  display: block;
  -webkit-animation: ag-scale-in .2s linear;
  -moz-animation: ag-scale-in .2s linear;
  -ms-animation: ag-scale-in .2s linear;
  -o-animation: ag-scale-in .2s linear;
  animation: ag-scale-in .2s linear;
}

/*===== 关闭窗口过渡效果 =====*/
#agModal-pop-container.closing {
  -webkit-animation: ag-scale-out .1s forwards;
  -moz-animation: ag-scale-out .1s forwards;
  -ms-animation: ag-scale-out .1s forwards;
  -o-animation: ag-scale-out .1s forwards;
  animation: ag-scale-out .1s forwards;
}

/*========== 从小变大淡入 ==========*/
.agModal-form-wrap {
  position: relative;
  display: block;
  margin: 0px 15px;
  padding: 30px 15px;
  background-color: #fff;
}

.agModal-form {
  display: block;
  max-width: 90%;
  margin: auto;
}

.agModal-form .form-row {
  display: block;
  margin: 20px auto 0 auto;
  position: relative;
  box-sizing: border-box;
}

.form-row .btn_code {
  display: block;
  width: 30%;
  line-height: 42px;
  font-size: 1.1em;
  text-align: center;
  color: #fff;
  background-color: #ff7f14;
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  z-index: 9;
}

.btn_code.hover {
  background-color: #ff6a42;
}

.btn_code.active {
  color: #999;
  background-color: #ccc;
}

.form-row.private {
  margin-top: 10px;
}

.form-row.private a {
  display: inline-block;
  text-decoration: underline;
  color: #555;
  padding-left: 4px;
  font-size: 11px;
  vertical-align: middle;
}

.form-row.private input {
  vertical-align: middle;
}

.agModal-form .form-row input[type="tel"], .agModal-form .form-row input[type="text"] {
  display: block;
  width: 100%;
  height: 46px;
  font-size: 14px;
  text-indent: 15px;
  border: 1px solid #ccc;
  outline: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
   box-sizing:inherit;
}

.agModal-form .form-row input[type="tel"]:focus, .agModal-form .form-row input[type="text"]:focus {
  border-color: #ff7f14;
}

.agModal-form .form-row.no-border {
  border: none;
  padding: 0;
}

.agModal-form .form-row input[type="submit"] {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 46px;
  color: #fff;
  text-align: center;
  font-size: 17px;
  background-color: #ff7f14;
  background: -webkit-linear-gradient(left, #ff8228, #ff6a42);
  background: linear-gradient(left, #ff8228, #ff6a42);
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.agModal-form .form-row input[type="submit"][disabled] {
  background: #ddd;
}

.agModal-form .form-row input[type="submit"]:active {
  opacity: .85;
}

/*========== 从小变大淡入 ==========*/
@-webkit-keyframes ag-scale-in {
  0% {
    opacity: 0;
    visibility: visible;
    -webkit-transform: scale(.7, .7);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1, 1);
  }
}

@-moz-keyframes ag-scale-in {
  0% {
    -moz-opacity: 0;
    visibility: visible;
    -moz-transform: scale(.7, .7);
  }
  100% {
    -moz-opacity: 1;
    visibility: visible;
    -moz-transform: scale(1, 1);
  }
}

@-ms-keyframes ag-scale-in {
  0% {
    filter: alpha(opacity=0);
    visibility: visible;
    -ms-transform: scale(.7, .7);
  }
  100% {
    filter: alpha(opacity=100);
    visibility: visible;
    -ms-transform: scale(1, 1);
  }
}

@-o-keyframes ag-scale-in {
  0% {
    opacity: 0;
    visibility: visible;
    -o-transform: scale(.7, .7);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -o-transform: scale(1, 1);
  }
}

@keyframes ag-scale-in {
  0% {
    opacity: 0;
    visibility: visible;
    transform: scale(.7, .7);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: scale(1, 1);
  }
}

/*========== 从大变小淡出 ==========*/
@-webkit-keyframes ag-scale-out {
  0% {
    opacity: 1;
    -webkit-transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(.7, .7);
  }
}

@-moz-keyframes ag-scale-out {
  0% {
    -moz-opacity: 1;
    -moz-transform: scale(1, 1);
  }
  100% {
    -moz-opacity: 0;
    -moz-transform: scale(.7, .7);
  }
}

@-ms-keyframes ag-scale-out {
  0% {
    filter: alpha(opacity=100);
    -ms-transform: scale(1, 1);
  }
  100% {
    filter: alpha(opacity=0);
    -ms-transform: scale(.7, .7);
  }
}

@-o-keyframes ag-scale-out {
  0% {
    opacity: 1;
    -o-transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    -o-transform: scale(.7, .7);
  }
}

@keyframes ag-scale-out {
  0% {
    opacity: 1;
    transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    transform: scale(.7, .7);
  }
}
